package com.wngbms.multidatasource.service;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Slf4j
@Aspect
@Component
public class DestAspectJ {

    @Before("execution(* com.wngbms.multidatasource.service.DestService.hello(..))")
    public void haha() {
        log.info("haha");
    }

}
